package com.bjsxt.controller;

import com.bjsxt.pojo.AdminRole;
import com.bjsxt.pojo.Role;
import com.bjsxt.service.AdminRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/adminRole")
public class AdminRoleController {

    @Autowired
    private AdminRoleService adminRoleService;

    //修改之前管理员回显
    @RequestMapping("/selectAdminRoleOne")
    public Integer selectAdminRoleOne(Integer aid){
        return adminRoleService.selectAdminRoleOne(aid);
    }
}
